package net.demo.dal.category;

import java.io.Serializable;

/**
 * 分类规格
 */
public class CategorySpec implements Serializable{
	private static final long serialVersionUID = -8396769570194967047L;

	//分类规格ID
	private Long specId;
	//规格名称
	private String specName;
	//默认值
	private String defaultValue;
	//可选值
	private String optionValue;
	//规格属性是否必填
	private Boolean required;
	//随意设定
	private Boolean freeSet;	
	//分类ID
	private Long categoryId;
	
	
	public Long getSpecId() {
		return specId;
	}
	public void setSpecId(Long specId) {
		this.specId = specId;
	}
	public String getSpecName() {
		return specName;
	}
	public void setSpecName(String specName) {
		this.specName = specName;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	public String getOptionValue() {
		return optionValue;
	}
	public void setOptionValue(String optionValue) {
		this.optionValue = optionValue;
	}
	public Boolean getRequired() {
		return required;
	}
	public void setRequired(Boolean required) {
		this.required = required;
	}
	public Boolean getFreeSet() {
		return freeSet;
	}
	public void setFreeSet(Boolean freeSet) {
		this.freeSet = freeSet;
	}
	public Long getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	
}
